Skip to content

Add missing parameter to simple tiled server docstring, fix type hint, allow for both lists and strings, add unit test for readable storage#1321

Merged
danielballan merged 9 commits intobluesky:mainfrom
jwlodek:simple-tiled-server-improvements
Mar 31, 2026
Merged

Conversation

@jwlodek
Copy link
Copy Markdown
Member

@jwlodek jwlodek commented Mar 27, 2026

Typically, when we use SimpleTiledServer it is in a dev environment where the easiest thing to do is just point readable_storage at /tmp (or tmp_path in unit tests). Requiring a list and having the user enter [/tmp] I think is unnecessary.

Also, readable_storage was missing from the docstring, and the existing type hint was actually incorrect, since it did not specify that a list was required.

Checklist

  • Add a Changelog entry
  • Add the ticket number which this PR closes to the comment section

…, allow for both lists and strings, add unit test for readable storage
Copy link
Copy Markdown
Contributor

@genematx genematx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds sensible to me.

Copy link
Copy Markdown
Member

@danielballan danielballan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix and the usability improvement. I left one nit-pick to align with how we usually handle this kind of check.

@danielballan danielballan merged commit bb5aa64 into bluesky:main Mar 31, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants